<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="EUC-KR"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>Insert title here</title>
</head>
<body>


<%
	String target = null;
	String targetSubMenu = null;
	
	String mainURL = "";
	String subMenuURL = "submenu.jsp";
	
	target = request.getParameter("url");
	//targetSubMenu = request.getParameter("url_menu");
	
	if(target == null)
	{
		mainURL = "login/login.jsp";
	} else {
		if(target.equals("login")) {		
			mainURL = "login/login.jsp";
		}
		if(target.equals("search_id")) {
			mainURL = "login/search_id.jsp";
		}
		if(target.equals("search_pw")) {
			mainURL = "login/search_pw.jsp";
		}
		if(target.equals("join")) {
			mainURL = "login/join.jsp";
		}
	}
%>

<jsp:forward page="../template.jsp">
    <jsp:param name="CONTENT" value="<%=mainURL %>" />
    <jsp:param name="SUBMENU" value="<%=subMenuURL %>" />
</jsp:forward>


</body>
</html>